<template>
  <el-pagination
    @size-change="handleSizeChange"
    @current-change="handleCurrentChange"
    :current-page="pagenum"
    :page-sizes="pagesizes"
    :page-size="pagesize"
    layout="total, sizes, prev, pager, next, jumper"
    :total="total">
  </el-pagination>
</template>

<script>
export default {
  name: 'Pagination',
  props: {
    pagenum: Number,
    pagesize: Number,
    total: Number,
    pagesizes: Array,
    handleSizeChange: Function,
    handleCurrentChange: Function
  }
}
</script>

<style>

</style>
